export const MenuAddRules = {
// {
//   name: {required: true, message: '请输入菜单名称', trigger: 'blur'},
//   icon: {required: true, message: '请输入菜单图标', trigger: 'blur'},
//   status: {required: true, message: '请输入菜单状态', trigger: 'blur'},
//   sort: {required: true, message: '请输入菜单排序', trigger: 'blur'},
//   router: {required: true, message: '请输入菜单路由', trigger: 'blur'},
//   component: {required: true, message: '请输入菜单组件', trigger: 'blur'},
// }
  component: {
    required: true,
    trigger: ['input', 'blur'],
    message: '请输入组件路径',
    type: 'string'
  },
  icon: {
    required: true,
    trigger: ['input', 'blur'],
    message: '请选择图标',
    type: 'string'
  },
  name: {
    required: true,
    trigger: ['input', 'blur'],
    message: '请输入菜单名称',
    type: 'string'
  }
}
